package com.neardrug.mapper;

import com.neardrug.entity.Markdown;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MarkdownMapper {

    public void insert(Markdown markdown);

    @Select("select * from tb_markdown where task_id=#{taskId}")
    public Markdown selectByTaskId(Integer taskId);
}
